package com.yzj.android.dao;

import com.yzj.Bean.Order;

import java.util.List;

public interface OrderDao  {
    //生成订单
    int addOrderItem(Order order);
    //修改订单状态
    int updateOrdItem(int id, String username);

    //查看所有订单

    List<Order> orderList();

    //用户查看自己订单状态

    List<Order> myOrders(String name);

}
